// import {http} from "../../utils/request.ts";
import {http} from "../../utils/request";
import type {User} from '../../types/user'

export const logins = (mobile: string, password: string) => {
    return http<User>('login/password', 'post', {
        password,
        mobile
    })
}